<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs" data-field="status">
            <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('正常')}</a></li>
            {foreach name="statusList" item="vo"}
                <li {if condition="$key == 0"} class="active" {else /} {/if}><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
            {/foreach}
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('sales/slip/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-gather {:$auth->check('sales/slip/gather')?'':'hide'}" title="{:__('汇总查询')}" > {:__('汇总查询')}</a>

                        <a href="javascript:;" class="btn btn-default" style="font-size:14px;color:dodgerblue;" id="getcount" >
                            <i class="fa fa-dollar"></i>
                            <span class="extend">
                                订货数量：<span id="num">0</span>
                                订货金额：<span id="price">0</span>
                            </span>
                        </a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('sales/slip/edit')}" 
                           data-operate-del="{:$auth->check('sales/slip/del')}"
                           data-operate-examine="{:$auth->check('sales/slip/examine')}"
                           data-operate-examine2="{:$auth->check('sales/slip/examine2')}"
                           data-operate-examine3="{:$auth->check('sales/slip/examine3')}"
                           data-operate-checkout="{:$auth->check('sales/checkout/add')}"
                           data-operate-formal="{:$auth->check('sales/slip/formal')}"
                           data-operate-history="{:$auth->check('sales/slip/history')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
